/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.insta.calendarMicroBlogage;

import com.kx.insta.traitement.SocialNetworkBeanInterface;
import com.kx.insta.traitement.TwitterBean;
import java.util.ArrayList;
import processing.core.PApplet;
import processing.core.PFont;

/**
 *
 * @author liban
 */
class SecondApplet extends PApplet {
    
    TwitterBean _social;
  
  public SecondApplet(TwitterBean social){
      super();
      _social = social;
  }
  public void setup() {
    size(1200, 900);
     noLoop();
  }
  public void draw() {
      background(0);
    int i = 1;
    PFont maTypo = createFont("arial",13);
    textFont(maTypo, 13);
   try{
       
       
           text(_social.showTimeline(),0,10);
           
       
   } 
   catch (Exception e){
       e.printStackTrace();
   }
  
  
 }
}
